﻿<!-- BEGIN:main -->

<link rel="stylesheet" href="css/ui/css/{theme}/jquery-ui.custom.css" type="text/css">
<link rel="stylesheet" href="css/sugarcrm.css" type="text/css">
<script src="css/ui/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="css/ui/js/jquery-ui.custom.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="themes/default/css/ui.achtung-min.css" />
<script type="text/javascript" language="javascript" src="./jquery/ui.achtung-min.js"></script>
<link href="css/hbox/css/hbox/hbox.css" media='screen' rel='stylesheet' type='text/css'/>
<script  src='css/hbox/css/hbox/hbox.js'  type='text/javascript'/></script>
<script src="css/validate/jquery.validate.js" type="text/javascript"></script>
<script src="css/ws_script.js" type="text/javascript"></script>


<style type="text/css" title="currentStyle">
	@import "./dataTables-1.6/media/css/demo_page.css";
	@import "./dataTables-1.6/media/css/demo_table_jui.css";
	.FixedHeader_Cloned th { background-color: white; }	
	.legend table { right:-160px; }
	.legend div { right:-160px; }
</style>

<link rel="stylesheet" href="css/epmtt.css" type="text/css">
<style type="text/css">@import "css/calendar/jquery.datepick.css";</style>
<script type="text/javascript" src="css/calendar/jquery.datepick.js"></script>
<script type="text/javascript">
	$(function() {
		$('#from_date').datepick({showOnFocus: true, showTrigger: '' + '<img src="css/calendar/calendar.gif" alt="Popup" align="absmiddle" style="cursor:pointer;">'});	
	});
</script>

	<style>
		fieldset { padding:0; border:0; margin-top:25px; }
	</style>

<script>
	
	$(function() {			
		$('a').hbox()	;	
	});	



	function hths_show2(msg){	
		$('#preview_info2').html(msg)							
	}

	function hths_close2(){	
		$('#preview_info2').html('')		
	}	


	function sbm_form(num){
		var frm = document.form1;
		$('#sugar_body_only').val('false');	
		if (num==1){
			$('#mode').val('SEARCH');
			if(btn_submit('#form1'))
				{
					message('',10);
				}	
		}
		else if (num==2){
			$('#mode').val('EXPORT');
			$('#sugar_body_only').val('true');			
			btn_submit('#form1')
		}
	}
	
</script>
<h3><img width="11" height="11" border="0" alt="" src="themes/Sugar/images/h3Arrow.gif"> {page_name}</h3>
	<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
		<form name="form1" id="form1" method="post">	
		{tabs}
		<img src="./css/images/show.png" align=right rel="show" style="cursor:pointer" onClick="sh_panel(this)" id="sh_icon" name=sh_icon> 
		
	
		<div id="main_tabs" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
		
			<input type="hidden" name="sugar_body_only" id="sugar_body_only"  value="false" />	
			<input type="hidden" name="page"  id="page"    value="1" />
			<input type="hidden" name="mode_inpvl" id="mode_inpvl"         value="" />
			<input type="hidden" name="module"         value="ZT2Remit" />
			<input type="hidden" name="action" id="action"         value="List" />
			<input type="hidden" name="mode" id="mode"         value="SEARCH" />
				<table width="100%" border="0" style="line-height:20px" id="main_panel" name="main_panel">
				
				 <tr><td colspan="2">
				  	{_search_type} {_keyword}
				  </td></tr>
				  <tr><td colspan="2">
				  	Thời gian {_from_date} Game {_gamecode_list}
				  </td></tr>
				  <tr><td colspan="2">			  
				  <input type=button value="TRA CỨU" onclick=" sbm_form(1)">	
				  &nbsp;
				  {_btnexport} {_btnadd} {_btndelete} {_btnact} {_btndeact}
				 
				  </td></tr>
			  </table>	
				
				<br><div class="wstitle">{title}</div>
				<span>{PN_Error}</span>
				<div id="dynamic">
					<div class="dataTables_wrapper" id="example_wrapper">
										
					
						<div class="hastable">
							<div id="aj_result">
								
	
								{gridview}							
							</div>
						</div>
					</div>
				</div>	




	<div id="preview" name="preview" style="display:none">
		<table width=400>
			<tr><td height="20px" align="right"><img src="css/hbox/css/hbox/closelabel.gif" style="cursor:pointer" onclick="hths_close()"></td></tr>
			<tr><td height="20px"><div id="preview_info" name="preview_info" style="height:200px;overflow:auto"></div></td></tr>
		</table>
	</div>	



	<div id="dialog-form" title="Cấu hình">
		<p class="validateTips"></p>
		<div id="preview_info2" name="preview_info2" >
		
		</div>	
	</div>	
	
	</form>
	
			
</div>



				  
                  